#ifndef STACKSCHEDULE_H_INCLUDED
#define STACKSCHEDULE_H_INCLUDED

#include "CarSchedule.h"
#include <ctime>
#include <algorithm>

using namespace std;

class cmp {
    public:
    bool operator() (const Track& left, const Track& right) const;
};

class StackSchedule: public CarSchedule {
    public:
    StackSchedule(const vector<int>& seq);
    bool StackSchedule::RecordTrack(vector<Track>& record);

    private:
    const vector<int>& sequence;
};

#endif // STACKSCHEDULE_H_INCLUDED
